//
//  AppDelegate+Config.m
//  ConfigAlertView
//
//  Created by 唐可雄 on 16/9/21.
//  Copyright © 2016年 swustyc. All rights reserved.
//

#import "AppDelegate+Config.h"

@implementation AppDelegate (Config)

- (void)configApplication:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
#ifdef DEBUG
    // 只在debug模式下展示配置
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"配置" message:nil delegate:nil cancelButtonTitle:nil otherButtonTitles:@"确定", nil];
    alert.alertViewStyle = UIAlertViewStylePlainTextInput;
    [alert textFieldAtIndex:0].placeholder = @"请输入网址";
    [alert show];
#else
    
#endif
}

@end
